<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class User extends Model {

    protected $table = 'users';
    protected $guarded = [];

    public function orders(){
        return $this->hasMany('App\Models\Order', 'user_id');
    }
}
